package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"],
        beego.ControllerComments{
            Method: "Test",
            Router: `/login/test`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"],
        beego.ControllerComments{
            Method: "Index",
            Router: `/test/des`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:OAuthController"],
        beego.ControllerComments{
            Method: "QQ",
            Router: `/test/qq`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:PostController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:PostController"],
        beego.ControllerComments{
            Method: "Posts",
            Router: `/`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:UserController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:UserController"],
        beego.ControllerComments{
            Method: "Read",
            Router: `/read`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Gorm",
            Router: `/gorm`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Gorm1",
            Router: `/gorm1`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Gorm2",
            Router: `/gorm2`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Gorm3",
            Router: `/gorm3`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Index",
            Router: `/xin`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["hello/controllers/Backend:XinController"] = append(beego.GlobalControllerRouter["hello/controllers/Backend:XinController"],
        beego.ControllerComments{
            Method: "Select",
            Router: `/xin2`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
